import request from '../../utils/request.js'
const state = {
	centerList: []
}
const mutations = {
	SET_CENTERLIST(state, centerList) {
		state.centerList = centerList
	}
}
const actions = {
	async getCenterList({commit}) {
		const result =await request('/getCenterList')
		commit('SET_CENTERLIST',result)
		
	}
}
const getters = {

}

export default {
	state,
	mutations,
	actions,
	getters,
}
